linux-i386: Cleanup stack pointer initialization at start of day.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 20 Feb 2006 20:26:24 +0000 (20:26 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 20 Feb 2006 20:26:24 +0000 (20:26 +0000)
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
linux-2.6-xen-sparse/arch/i386/kernel/head-xen.S

index 93c5e85526d6847128b30132c7f8638f5bf3f239..f96c02ca452f79669148df81023e64dc4f445f5c 100644 (file)
@@ -33,7 +33,7 @@ ENTRY(startup_32_smp)
        cld
 
        /* Set up the stack pointer */
-       lss stack_start,%esp
+       movl $(init_thread_union+THREAD_SIZE),%esp
 
 checkCPUtype:
 
@@ -90,10 +90,6 @@ ENTRY(lgdt_finish)
        pushl %eax
        lret
 
-ENTRY(stack_start)
-       .long init_thread_union+THREAD_SIZE
-       .long __BOOT_DS
-
        ALIGN
 
 # boot GDT descriptor (later on used by CPU#0):